﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DotNetEngine.Graphics;
using DotNetEngine.Utils;
using Microsoft.Xna.Framework;
using DotNetEngine.Core;

namespace DotNetEngine.Screens
{
    class GameScreen : Screen
    {
        DrawableImage ball;
        DrawableImage scroll;
        DrawableImage gameBack;

        #region Initialize methods
        public override void Initialize()
        {
            base.Back = new DrawableImage(Directories.MenuDirectory + "BlueBackground", new Vector2(0, 0), 0);
            scroll = new DrawableImage(Directories.MenuDirectory + "CloudBackground", new Vector2(0, 0), 1);
            gameBack = new DrawableImage(Directories.MenuDirectory + "GameBack", new Vector2(700, 160), 2);
            ball = new DrawableImage(Directories.SpritesDirectory + "Ball-black", new Vector2(705, 165), 3);
        }
        public override void OnInitialize()
        {
            base.OnInitialize();
        }
        #endregion

        #region Public methods
        public override void Update()
        {
        }
        public override void Draw()
        {
            base.Draw();
            BaseGame.RenderElements.Add(scroll);
            BaseGame.RenderElements.Add(gameBack);
            BaseGame.RenderElements.Add(ball);
        }
        #endregion
    }
}
